package com.smmisia.shop.service;

import com.smmisia.common.Result.Result;
import com.smmisia.shop.entity.Business;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smmisia.shop.request.BusinessRegisterRequest;
import com.smmisia.shop.request.BusinessUpdateRequest;
import com.smmisia.shop.response.BusinessInfoResponse;
import jakarta.validation.Valid;


public interface BusinessService extends IService<Business> {

    Result<Boolean> register(@Valid BusinessRegisterRequest request);

    Result<Boolean> updateBusiness(@Valid BusinessUpdateRequest request);

    Result<Boolean> updateStatus(Integer status);

    Result<Boolean> delete();

    Result<BusinessInfoResponse> info(Integer id);
}
